package org.ats.utils;

import android.app.Activity;
import android.view.KeyEvent;

public class KeyEventHelper {
	
	
	public static void exitActivity(Activity activity,int keyCode)
	{
		if(keyCode==KeyEvent.KEYCODE_BACK){
			activity.finish();
		}
	}

}
